package com.woniu.userservice.service;

import com.woniu.userservice.entity.Users;
import java.util.List;

public interface UsersService {

    Users queryById(Integer id);

    List<Users> queryAllByLimit(int offset, int limit);
    
    List<Users> findAll();
    Users insert(Users users);

    Users update(Users users);

    boolean deleteById(Integer id);

}